<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基础选择器之类选择器</title>
    <style>
        /* 类选择器的口诀：样式点定义结构类class调用一个或多个开发最常用 */
        .red {
            color: red;
        }
        .star-sing {
            color: green;
        }
    </style>
</head>
<body>
     <ul>
         <li class="red">一路向北</li>
         <li>安静</li>
         <li>退后</li>
         <li>爷爷泡的茶</li>
         <li>爱在西元前</li>
    <div class="red">我也想变红色</div>
         
     </ul>
    
</body>
</html>